package team.pra.manager.mapper;

import team.pra.manager.common.PageBean;
import team.pra.manager.common.PageHelper;
import team.pra.manager.pojo.Account;
import team.pra.manager.pojo.Checkin;
import team.pra.manager.pojo.Room;

import java.util.List;

public interface CheckinMapper {

    List<Checkin> queryByPage(PageBean<Checkin> pageBean);

    Checkin queryById(Integer id);

    List<Checkin> queryAll();

    Boolean insert(Checkin checkin);

    Boolean update(Checkin checkin);

    Boolean delete(Integer id);

    Integer countCheckinNumber();

    List<Checkin> findCheckinByCondition(PageHelper<Checkin> pageHelper);
    Integer filteredCheckin(PageHelper<Checkin> pageHelper);
}
